package com.hhit.bigscreenbackmanage.dao.aqgl;

import com.hhit.bigscreenbackmanage.entity.aqgl.TAqglJdjcqk;
import com.hhit.bigscreenbackmanage.vo.aqgl.AqglSearchVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface AqglJdjcqkDao {

    /**
     * @Description: 批量插入数据
     * @Author: qianchengcheng 
     * @Date: 2021/7/27 21:32
     * @Param: [aqglJdjcqkList] 
     * @Return: int
     **/
    int batchInsertAqglJdjcqk(@Param("list") List<TAqglJdjcqk> aqglJdjcqkList) throws Exception;

    /**
     * @Description: 分页获取数据
     * @Author: qianchengcheng 
     * @Date: 2021/7/27 21:33
     * @Param: [aqglSearchVo] 
     * @Return: java.util.List<com.hhit.bigscreenbackmanage.entity.aqgl.TAqglJdjcqk>
     **/
    List<TAqglJdjcqk> getAqglJdjcqkPageInfo(AqglSearchVo aqglSearchVo) throws Exception;

    /**
     * @Description: 根据datetime获取主键编号
     * @Author: qianchengcheng 
     * @Date: 2021/7/27 21:34
     * @Param: [datetime] 
     * @Return: java.util.List<java.lang.String>
     **/
    List<String> getAqglJdjcqkIdsByDateTime(@Param("datetime") String datetime) throws Exception;

    /**
     * @Description: 批量删除
     * @Author: qianchengcheng 
     * @Date: 2021/7/27 21:35
     * @Param: [ids] 
     * @Return: int
     **/
    int batchDeleteAqglJdjcqk(@Param("ids") List<String> ids) throws Exception;

    /**
     * @Description:
     * @Author: qianchengcheng 
     * @Date: 2021/7/28 9:30
     * @Param: [param] 
     * @Return: com.hhit.bigscreenbackmanage.entity.aqgl.TAqglJdjcqk
     **/
    TAqglJdjcqk getAqglJdjcqkEntity(Map<String,Object> param) throws Exception;
}
